package ma.platform.server.student.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import jakarta.servlet.http.HttpServletResponse;
import ma.platform.server.student.dto.SchoolStaticesDto;
import ma.platform.server.student.dto.TbDateComboDto;
import ma.platform.server.student.entity.TbStudentCombo;
import com.baomidou.mybatisplus.extension.service.IService;
import ma.platform.server.student.req.*;
import ma.platform.server.student.vo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【tb_student_combo(学生套餐预约表)】的数据库操作Service
* @createDate 2024-08-27 17:01:05
*/
public interface TbStudentComboService extends IService<TbStudentCombo> {

    void createResrve(CreateResrveReq req);

    List<TbDateComboDto> listHistoryResrve(QueryHistoryResrveReq req);

    Page<TbDateComboDto> pageStudentCombo(Page page, QueryStudentComboReq req);

    Page<SchoolStaticesDto> schoolStatices(Page page,QueryStudentComboReq req);

    Page<SchoolStaticesDto> schoolDishStatices(Page page, QueryStudentComboReq req);

    Page<SchoolStaticesDto> gradeStatices(Page page, QueryStudentComboReq req);

    Page<SchoolStaticesDto> gradeDishStatices(Page page, QueryStudentComboReq req);

    Page<SchoolStaticesDto> classesStatices(Page page, QueryStudentComboReq req);

    Page<SchoolStaticesDto> classesDishStatices(Page page, QueryStudentComboReq req);

    List<SchoolExportVo> schoolStaticesExport(QueryStudentComboReq req);


    List<SchoolDishExportVo> schoolDishStaticesExport(QueryStudentComboReq req);


    List<GradeExportVo> gradeStaticesExport(QueryStudentComboReq req);

    List<GradeDishExportVo> gradeDishStaticesExport(QueryStudentComboReq req);

    List<ClassesExportVo> classesStaticesExport(QueryStudentComboReq req);

    List<ClassesDishExportVo> classesDishStaticesExport(QueryStudentComboReq req);

    void dowloadTag(HttpServletResponse response, QueryStudentComboTagReq req);

    void dowloadClassTable(HttpServletResponse response, QueryStudentComboReq req);
}
